package com.icloud.system.boot.model;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.time.LocalDateTime;

@Getter
@Setter
@TableName("customer_invite")
@ApiModel(value = "AppInvite对象", description = "客户邀请表")
public class CustomerInvite implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("创建时间")
    @TableField(value = "created_at", fill = FieldFill.INSERT)
    private LocalDateTime createdAt;

    @ApiModelProperty("修改时间")
    @TableField(value = "updated_at", fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updatedAt;

    @ApiModelProperty("邀请人Id")
    @TableField("inviter_id")
    private Long inviterId;

    @ApiModelProperty("被邀请人Id")
    @TableField("invitee_id")
    private Long inviteeId;

    @ApiModelProperty("邀请路径,按从下向上排序")
    @TableField("path")
    private String path;

    @ApiModelProperty("备注")
    @TableField("remark")
    private String remark;
}
